import 'package:flutter/material.dart';
import 'package:play_android/com/zhihaoliang/const/AppStr.dart';

///  ***************************************************************************
///  列表底部加载完成数据的View
///  ***************************************************************************

class EndLine extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new Container(
      color: Color(0xFFEEEEEE),
      padding: EdgeInsets.fromLTRB(5.0, 15.0, 5.0, 15.0),
      child: new Row(
        children: <Widget>[
          new Expanded(
            child: Divider(
              height: 10.0,
            ),
            flex: 1,
          ),
          Text(
            AppStr.LOAD_COMPLETE,
            style: new TextStyle(color: Theme.of(context).accentColor),
          ),
          new Expanded(
            child: Divider(
              height: 10.0,
            ),
            flex: 1,
          ),
        ],
      ),
    );
  }
}
